Fixes #3824, 3849 - New Google Gen AI Embedding Module, Starters for GenAI and GenAI EMbedding Module and support for ThinkingBudget #3914
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces comprehensive support for Google's latest Unified SDK with text embedding capabilities and enhances the existing chat model functionality.
Key Changes:
New Google Gen AI Text Embedding Support (Support latest Google Unified SDK to access Google AI Embedding Models #3824)
- Added a new spring-ai-google-genai-embedding module with full text embedding model implementation
- Supports Google's text embedding models (text-embedding-005, text-embedding-004, gemini-embedding-001) with configurable options
- Includes comprehensive test coverage with retry logic and observability support
Spring Boot Starter for Google Gen AI (Support latest Google Unified SDK to access Google AI Embedding Models #3824)
- Created spring-ai-autoconfigure-model-google-genai module with auto-configuration for both chat and embedding models
- Provides property-based configuration for easy integration
- Includes migration guide and extensive integration tests
Thinking Configuration Support (Add Thinking Config and Content Caching to the Google Gen AI Module #3849)
- Enhanced Google Gen AI chat model with thinking/reasoning configuration in the spring-ai-google-genai module
- Added support for configurable thinking parameters in chat options
- Enables advanced reasoning capabilities in the chat model